package edu.sandau.f210153.f21010532.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import edu.sandau.f210153.f21010532.model.Orderingmeals;
import java.util.List;

public interface OrderingmealsRepository extends JpaRepository<Orderingmeals,Long> {
    List<Orderingmeals> findByOrderer(String orderer);

    List<Orderingmeals>findByOrdererOrMeals(String orderer,String meals);
}
